A11y: fix typo when initializing a container cell accessible
authorMike Gorse <mgorse@suse.com>
Mon, 26 Jan 2015 20:59:50 +0000 (14:59 -0600)
committerMike Gorse <mgorse@suse.com>
Mon, 26 Jan 2015 21:03:10 +0000 (15:03 -0600)
Gtk_container_cell_widget_set should chain up to its parent's set
function, not its parent's unset function. This was resulting in
accessibles being erroneously marked defunct after being created.

gtk/a11y/gtkcontainercellaccessible.c

index f71ac218e920473c45fb14c332a60504bb3f32ab..ad9fb81d34baaa9681af6a22fb2511a8a368d584 100644 (file)
@@ -82,7 +82,7 @@ gtk_container_cell_widget_set (GtkAccessible *accessible)
   for (l = container->priv->children; l; l = l->next)
     gtk_accessible_set_widget (l->data, gtk_accessible_get_widget (accessible));
 
-  GTK_ACCESSIBLE_CLASS (gtk_container_cell_accessible_parent_class)->widget_unset (accessible);
+  GTK_ACCESSIBLE_CLASS (gtk_container_cell_accessible_parent_class)->widget_set (accessible);
 }
 
 static void